#!/bin/bash

for X in 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 5.5 6 6.5 7 7.5 8 8.5 9 9.5 10
do
  echo $X
  # generating predictions using no sampling
  #./match.py -s ../data/7mer_population ../data/nosample/s$X > ../data/nosample/ma$X
  #./lo.py -s ../data/7mer_population ../data/nosample/s$X > ../data/nosample/lo$X
  #./qp.py -s ../data/7mer_population ../data/nosample/s$X > ../data/nosample/qp$X

  # generating data with different sampling
  #./sample.py -t -$X -s f -n 10 -m ../data/real ../data/7mer_population > ../data/fdsample/s${X}_10_3
  #./sample.py -t -$X -s f -n 20 -m ../data/real ../data/7mer_population > ../data/fdsample/s${X}_20_3
  #./sample.py -t -$X -s f -n 50 -m ../data/real ../data/7mer_population > ../data/fdsample/s${X}_50_3
  #./sample.py -t -$X -s f -n 200 -m ../data/real ../data/7mer_population > ../data/fdsample/s${X}_200_3

  #./sample.py -t -$X -s b -n 10 -m ../data/real ../data/7mer_population > ../data/bmsample/s${X}_10_3
  #./sample.py -t -$X -s b -n 20 -m ../data/real ../data/7mer_population > ../data/bmsample/s${X}_20_3
  #./sample.py -t -$X -s b -n 50 -m ../data/real ../data/7mer_population > ../data/bmsample/s${X}_50_3
  #./sample.py -t -$X -s b -n 200 -m ../data/real ../data/7mer_population > ../data/bmsample/s${X}_200_3

  METHOD=qp
  T=3 # turn 

  ./${METHOD}.py -l ../data/7mer_population ../data/fdsample/s${X}_200_$T > ../data/fdlowest/${METHOD}${X}_200_$T

  ./${METHOD}.py -l ../data/7mer_population ../data/bmsample/s${X}_200_$T > ../data/bmlowest/${METHOD}${X}_200_$T
done

